package com.itheima.demo.demo05;

public class Thread {
    public static void main(String[] args) {
        System.out.println("main----start");
        MyThread thread=new MyThread();
        thread.start();
        for (int i = 0; i <100 ; i++) {
            System.out.println("main for"+i);
//与MyThread开始抢cpu了，
        }
        System.out.println("main---end");

    }
}
